package Service.Impl;
import Dao.HospErrorDao;
import Model.HospError;
import Service.HospErrorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HospErrorServiceImpl implements HospErrorService {
    @Autowired
    HospErrorDao hospErrorDao;
    @Override
    public List<HospError> getHospErrorList() {
        return hospErrorDao.getHospErrorList();
    }
}
